/* login.css - 登录页专属样式 */

body {
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    width: 320px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
    letter-spacing: 1px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

input[type="text"]:focus,
input[type="password"]:focus {
    background-color: rgba(255, 255, 255, 0.3);
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: linear-gradient(to right, #4f46e5, #6366f1);
    border: none;
    color: white;
    border-radius: 8px;
    font-size: 14px;
}

input[type="submit"]:hover {
    background: linear-gradient(to right, #3730a3, #4f46e5);
    transform: scale(1.02);
}

input[type="checkbox"] {
    margin-right: 6px;
}

.extra-links {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
}

.extra-links a {
    color: #ddd;
    text-decoration: none;
    margin: 0 6px;
}

.extra-links a:hover {
    text-decoration: underline;
}
